// var gName = "global的name";

// function getName() {
//   var name = "var的name";
//   let bName = "let的bName";
//   {
//     let name = "let的name";
//     const bName = "const的bName";
//     console.log("name:", name, ",", "otherName:", bName);
//   }
//   console.log("name:", name, ",", "otherName:", bName);
//   console.log("gName:", gName);
// }

// getName();

var a = 1;
console.log(window.a);
